import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { FormConfigService } from './form-config.service';
import { FormConfigController } from './form-config.controller';
import { FormConfig } from './form-config.entity';
import { FieldType } from './field-type.entity';
import { FieldTypeService } from './field-type.service';
import { FieldTypeController } from './field-type.controller';
import { UserModule } from '../user/user.module';

@Module({
  imports: [TypeOrmModule.forFeature([FormConfig, FieldType]), UserModule],
  controllers: [FormConfigController, FieldTypeController],
  providers: [FormConfigService, FieldTypeService],
  exports: [FormConfigService, FieldTypeService],
})
export class FormConfigModule {}